package com.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/*
在Spring Boot的主类中加入@EnableScheduling注解，启用定时任务的配置
 */
@SpringBootApplication
@EnableScheduling
public class Learn411ScheduledApplication {

	public static void main(String[] args) {
		SpringApplication.run(Learn411ScheduledApplication.class, args);
	}
}
